package edu.whu.rose.clock.ssql.index;

public class EdgeNode {

	private int row;
	private int column;
	private boolean Edge;
	private EdgeNode nextNodeInSameRow;
	private EdgeNode nextNodeInSameColumn;
	
	public EdgeNode(int row, int column, boolean Edge) {
		this(row, column, Edge, null, null);
	}
	
	public EdgeNode(int row, int column, boolean Edge,
			EdgeNode nextNodeInSameRow,
			EdgeNode nextNodeInSameColumn) {
		super();
		this.row = row;
		this.column = column;
		this.Edge = Edge;
		this.nextNodeInSameRow = nextNodeInSameRow;
		this.nextNodeInSameColumn = nextNodeInSameColumn;
	}

	public EdgeNode getNextNodeInSameRow() {
		return nextNodeInSameRow;
	}

	public void setNextNodeInSameRow(EdgeNode nextNodeInSameRow) {
		this.nextNodeInSameRow = nextNodeInSameRow;
	}

	public EdgeNode getNextNodeInSameColumn() {
		return nextNodeInSameColumn;
	}

	public void setNextNodeInSameColumn(EdgeNode nextNodeInSameColumn) {
		this.nextNodeInSameColumn = nextNodeInSameColumn;
	}

	public int getRow() {
		return row;
	}

	public int getColumn() {
		return column;
	}

	public boolean getEdge() {
		return Edge;
	}

	public void setEdge(boolean Edge) {
		this.Edge = Edge;
	}
}
